package kr.hkit.powerjava.chapter05;

import java.util.Scanner;

public class programming03 {
	public static void main(String[] args) {
		
		final int pit = 12;
		final double inch = 2.54;
		int tall;
		
		Scanner input = new Scanner(System.in);
		System.out.print("키를 입력하시오: ");
		tall = input.nextInt();
		
		System.out.print(tall + "cm는 " + Math.round(tall/inch)/pit +
						"피트 " + tall/inch%pit + "인치입니다.");
	}
}
